package com.tansun.easycare.rule.table.singletblindex.model;

import java.io.Serializable;

import org.apache.commons.lang3.StringUtils;

import com.tansun.easycare.rule.common.model.BaseModel;

public class SingleTblIndexModel extends BaseModel implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 709024010556887943L;
    public static String FILENAME = "/singleTblIndex/singleTblIndex.xml";

    /**
     * 初始化改条记录的修改内容
     */
    public void InitModifiedContent(SingleTblIndexModel index) throws Exception {
        super.InitModifiedContent(index);
        if (index == null) return;
        if (!StringUtils.isEmpty(index.getName()))
            this.setName(index.getName());
    }
}
